
/**
 * JiuWu 95JW.CN
 */
    
System.register(["./vendor-legacy-BGxEeeVu.js"],(function(e,o){"use strict";var t;return{setters:[e=>{t=e.d2}],execute:function(){e("u",(e=>{const o=void 0===(null==e?void 0:e.appendToBody)||e.appendToBody;return{toClipboard:(e,n)=>new Promise(((d,r)=>{const c=document.createElement("button"),s=new t(c,{text:()=>e,action:()=>"copy",container:void 0!==n?n:document.body});s.on("success",(e=>{s.destroy(),d(e)})),s.on("error",(e=>{s.destroy(),r(e)})),o&&document.body.appendChild(c),c.click(),o&&document.body.removeChild(c)}))}}))}}}));
